<#--
	@Description:省份区域展示
	@Author:
	@Date:
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">   
<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title>省份区域管理</title>
    <link rel="icon" href="favicon.ico" type="image/x-icon"/>    
    <#include "../template/include/assign.ftl">
	<#include "../template/include/source.ftl">
	<#include "../template/template_listPage.ftl">    
    <link href="${web_static}/admin/css/list.css" rel="stylesheet" type="text/css"/>
    <style type="text/css">
        .page {
            float: right;
            padding-top: 15px;
            margin-right: 15px;
        }
    </style>
     <script type="text/javascript"> 
    	 function editProduct(id) {
            var url = "${web_base}/game/province!toEdit.htm?id=" + id;
            document.forms[2].action = encodeURI(url);
            document.forms[2].submit();
        }
    
	</script>   

</head>

<body class="list"> 
	<div class="body">
		<div class="listBar">
       		<h1><span class="icon">&nbsp;</span>省份区域管理&nbsp;<span class="pageInfo"></span></h1>
    	</div>
     	<div style="display: none;" id="validateErrorContainer" class="validateErrorContainer">
	        <div class="validateErrorTitle">以下信息填写有误,请重新填写</div>
	        <ul></ul>
    	</div>
		<form id="inputForm" class="validate" action="${web_base}/game/province!toAdd.htm" method="post">
	        <div class="operateBar">
	        	 <label>省域新增：</label>
	            <input type="submit" name="submit" value="新  增"/>
	        </div>
   		 </form>
		<@pageList page=(page!) id="listForm" action="${web_base}/game/province!list.htm" query="proQuery" isEmpty=true>
			<div class="operateBar">
			        <label>查找：</label>
			        省域名称：<input type="text" id="provinceName" name="provinceInfo.provinceName"
			                    value="<#if provinceName??>${(provinceInfo.provinceName)!}</#if>"/>
			        <input type="submit" id="searchButton" class="searchButton" value=""/>
    		</div>
			<table class="listTable">
				<tr>
					<th>
		                <span class="sort" name="provinceName">省域名称</span>
		            </th>
		            <th>
		                <span class="sort" name="provinceCode">省域编码</span>
		            </th>
		            <th>
		                <span class="sort" name="inserttime">插入时间</span>
		            </th>
		            <th>
		                <span class="sort" name="updatetime">更新时间</span>
		            </th>
		            <th>
		                <span class="sort" name="operator">操作员账号</span>
		            </th>
		            <th width="80">操&nbsp;作
		            <th/>
				</tr>
				<#if page?? && page.list?? && (page.list?size gt 0)>
    			  <#list page.list as obj>
					 <tr>
						<td>
                   		   ${(obj.provinceName)!}
                   		</td>
                   		<td>
                   		   ${(obj.provinceCode)!}
                   		</td>
                   		<td>
                   		   ${(obj.inserttime)!}
                   		</td>
                   		<td>
                   		   ${(obj.updatetime)!}
                   		</td>
                   		<td>
                   		   ${(obj.operator)!}
                   		</td>
                   		<td width="80">
                        <span class="spanLink" onclick="editProduct('${(obj.id)!}');" title="编辑">[编辑]</span>
                    </td>
					</tr>
				 </#list>
    		   </#if>
			</table>
			<#if page?? && page.list?? && (page.list?size <= 0)>
		        <div class="noRecord">
		         	   没有找到任何记录!
		        </div>
   			</#if>
		</@pageList>
	</div>
</body>
</html> 
